package com.example.myapplication.markwon

import android.graphics.Typeface
import android.text.TextPaint
import android.text.style.MetricAffectingSpan

/**
 * Create by Tanzhenxing on 2025/7/1.
 * Description:
 */
class StrongEmphasisSpan : MetricAffectingSpan() {
    override fun updateDrawState(textPaint: TextPaint?) {
        textPaint?.typeface = Typeface.create("mipro-semibold", Typeface.NORMAL)
    }

    override fun updateMeasureState(textPaint: TextPaint) {
        textPaint.typeface = Typeface.create("mipro-semibold", Typeface.NORMAL)
    }
}